<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <jquery/>
        <jsconst/>
        <js file='__PUBLIC__/js/category.js'>
        <css file="__PUBLIC__/css/category.css"/>
    </head>
    <body>
        <form action="{|U('add')}" method="post">
            <div id="tabs">
                <ul class='tabs_top'>
                    <li class='dif'><a href="javascript:;">基本设置</a></li>
                    <li><a href="javascript:;">模板设置</a></li>
                    <li><a href="javascript:;">静态规则</a></li>
                </ul>
                <div id="tabs_list">
                    <div class='tabs_list1 show'>
                        <table>
                            <tr>
                                <th width='10%'>栏目名称</th>
                                <td width='88%'>
                                    <input type="text" class="input1 lanmu" name="catname"/><span class="desc">栏目名称，必须使用中文</span>
                                </td>
                            </tr>
                            <tr>
                                <th>静态目录</th>
                                <td>
                                    <input type="text"class="input1" name="catdir"/> <span class="desc">静态目录</span>
                                </td>
                            </tr>
                            <tr>
                                <th>关键字</th>
                                <td>
                                    <input type="text" class="input1" name="keywords"/>
                                    <span class="desc">关键字</span>
                                </td>
                            </tr>
                            <tr>
                                <th>栏目描述</th>
                                <td>
                                    <textarea name="description" class="textarea1"></textarea>
                                    <span class="desc">栏目描述</span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class='tabs_list1'>
                        <table>
                            <tr>
                                <th width='10%'>栏目模板</th>
                                <td width='88%'>
                                    <input type="text" name="cattpl" class="input1" value="list.html"/><button class="bt2">选择模板</button><span class="desc"></span>
                                </td>
                            </tr>
                            <tr>
                                <th>内容页模板</th>
                                <td>
                                    <input type="text" name="arctpl" class="input1" value="arc.html"/><button class="bt2">选择模板</button><span class="desc"></span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class='tabs_list1'>
                        <table>
                            <tr>
                                <th width='10%'>栏目静态</th>
                                <td width='88%'>
                                    <input type="text" name="cathtml" class="input2" value="{htmlpath}/{catdir}/{cid}.html"/><span class="desc">{htmlpath}静态根目录 {catdir}列表目录 {cid}栏目ID</span>
                                </td>
                            </tr>
                            <tr>
                                <th>内容页静态</th>
                                <td>
                                    <input type="text" name="archtml" class="input2" value="{htmlpath}/{catdir}/{y}{m}/{aid}.html"/><span class="desc">{htmlpath}根目录 {catdir}列表目录  {y}年 {m}月 {d}日 {aid}文章ID</span>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class='add'>
                    <input type="submit" class="bt1" id='add' value="添加栏目"/>
                </div>
            </div>
        </form>
    </body>
</html>
